﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace Simple.Common.Core.IO
{
    public class DirectoryHelper
    {
        /// <summary>
        /// 创建目录
        /// </summary>
        /// <param name="directory">需要创建的路径</param>
        public static void CreateIfNotExists(string directory)
        {
            if (!Directory.Exists(directory))
            {
                Directory.CreateDirectory(directory);
            }
        }



    }
}
